<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Swapper</title>

        <link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
        <script src="lightbox/js/prototype.js" type="text/javascript"></script>
        <script src="lightbox/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
        <script src="lightbox/js/lightbox.js" type="text/javascript"></script>

        <link href="styles/css.css" rel="stylesheet" type="text/css" />


        
    </head>

    <body>

        <div id="pagina">
            <div id="topo">
                <div id="frameLogin" style="float: right;">
                    <c:if test="${msgLogin!=null}">
                        <b>${msgLogin}</b>
                    </c:if>
                    <c:if test="${logado}">
                        Seja bem vindo ${pessoaSessao.nome}! <a href="sessao.htm?cmd=logout">Sair</a>
                    </c:if>
                    <c:if test="${logado==false}">
                        <form action="sessao.htm?cmd=login" name="formLogin" id="formLogin" method="post">
                            <label for="login">Email:</label>
                            <input type="text" name="email" id="emailLogin" maxlength="100" />

                            <label for="senha">Senha:</label>
                            <input type="password" name="senha" id="senhaLogin" maxlength="16" />
                            <input type="submit" value="Login" />
                        </form>
                    </c:if>
                </div>
                <img id="login" alt="Logo Swapper" src="images/topo_nav.jpg" />
                <img id="logo" alt="Logo Swapper" src="images/swapper2.png" />

                <div id="menuLogado">
                    <a href="gerenciarproduto.htm">Meus Produtos</a> |
                    <a href="gerenciarpropostas.htm">Propostas</a> |
                    <a href="#">Conta</a>
                </div>



            </div>


            <div id="pesquisar">
                <form:form method="post" action="principal.htm">
                    <input id="pesq" name="pesq" type="text" maxlength="254" size="100"/>
                    <input type="submit" value="Buscar" >

                </form:form>


            </div>


            <%@include file="categoriamenu.jsp" %>




            <div id="conteudo">
